<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>My JSP 'index.jsp' starting page</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

    <link rel="stylesheet" href="css/style_all.css" type="text/css" media="screen" />



    <!-- to choose another color scheme uncomment one of the foloowing stylesheets and wrap styl1.css into a comment -->
    <link rel="stylesheet" href="css/style8.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/jquery-ui.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="ueditor1_2_2_0-utf8-php/themes/default/ueditor.css" type="text/css" media="screen" />

    <!--Internet Explorer Trancparency fix-->
    <!--[if IE 6]>
    <script src="js/ie6pngfix.js"></script>
    <script>
        DD_belatedPNG.fix('#head, a, a span, img, .message p, .click_to_close, .ie6fix');
    </script>
    <![endif]-->

    <script type='text/javascript' src='js/all-ck.js'></script>
    <script type='text/javascript' src='ueditor1_2_2_0-utf8-php/editor_config.js'></script>
    <script type='text/javascript' src='js/custom.js'></script>
</head>


<body>
        <div id="top">
        
            <div id="head">
            	<h1 class="logo">
                	<a href=""></a>
                </h1>
                
                <div class="head_memberinfo">
                	<div class="head_memberinfo_logo">
                    	<span>1</span>
                    	<img src="images/unreadmail.png" alt=""/>
                    </div>
                    
                    <span class='memberinfo_span'>
                   		 欢迎 <a href="">管理员</a>
                    </span>
                    
                    <span class='memberinfo_span'>
                    	<a href="">设置</a>
                    </span>
                    
                    <span>
                    	<a href="index.jsp">登出</a>
                    </span>
                    
                    <span class='memberinfo_span2'>
                    	<a href="">1 条私信</a>
                    </span>
                </div><!--end head_memberinfo-->
            
            </div><!--end head-->
           	
            	<div id="bg_wrapper">
                
                    <div id="main">
                        <div id="content">
                            <h2 class="jquery_tab_title">记者投稿，欢迎来“搞”。</h2>



                            <form  action="/tougao/addsubmission" method="post"  enctype="multipart/form-data">
                                <!-- form_h类用于格式化水平排列的表单 -->
                                <table class="form_h">
                                    <tr>
                                        <th>
                                            <label for="name">新标题</label>
                                        </th>
                                        <td>
                                            <input  type="text" placeholder="请输入标题" name="title" id="name"/>
                                        </td>
                                    </tr>

                                    <tr>
                                        <th>
                                            <label for="name">投稿人</label>
                                        </th>
                                        <td>
                                            <input type="text" placeholder="请输入您的名字" name="username"/>
                                        </td>
                                    </tr>

                                    <tr>
                                        <th>
                                            <label for="name">稿件分类</label>

                                        </th>
                                        <td>
                                            <select name="draftClass">
                                                <option value="0">-请选择-</option>
                                                <option value="1">消息</option>
                                                <option value="2">通讯</option>
                                                <option value="3">评论</option>
                                                <option value="4">专访</option>
                                            </select>
                                        </td>
                                    </tr>
                                   		
                                    <tr>
                                        <th>新文件</th>
                                        <td><input type="file" name="a_idPicPath"/></td>
                                    </tr>
                                 
                                    <tr>
                                       <th class="">
                                           <label>富文本</label>
                                       </th>
                                       <td>
                                            <!-- 在custom.js中，所有uEditor类的容器都将被初始化为uEditor -->
                                           <script type="text/plain" class="uEditor" name="content">
                                           	
                                           </script>
                                       </td>
                                   </tr>

                                   <tr>
                                    <td>
                                        <input class="button"  type="submit" value="提交"/>
                                    </td>

                                </tr>

                            </table>
                        </form>





                        </div>
                        <!--end content-->
                        
                    </div><!--end main-->
                    
                    <div id="sidebar">
                            <ul class="nav">
                                <li><a class="headitem item1" href="#">仪表盘</a>
                                    <ul class="opened"><!-- ul items without this class get hiddden by jquery-->
                                    <li><a href="#">菜单管理</a></li>
                                    <li><a href="#">脚本页</a></li>
                                    <li class="current"><a href="#">插件管理</a></li>
                                    <li><a href="#">用户管理</a></li>
                                    </ul>
                                </li>
                                <li><a class="headitem item2" href="#">设置</a>
                                    <ul>
                                        <li><a href="#">记者管理</a></li>
                                        <li><a href="#">稿件附件大小设置</a></li>
                                        <li><a href="#">稿件附件类型设置</a></li>
                                    </ul>                            
                                </li>
                                <li><a class="headitem item4" href="#">编辑</a>
                                    <ul>
                                        <li><a href="Submission.jsp">记者投稿</a></li>
                                        <li><a href="Submission.jsp">统计信息</a></li>
                                        <li><a href="display.jsp">稿件管理</a></li>
                                    </ul>
                                </li>
                                <li><a class="headitem item5" href="#">站点搜索</a>
                                    <ul>
                                    <li><a href="#">基础搜索</a></li>
                                    <li><a href="#">高级搜索</a></li>
                                    <li><a href="#">搜索设置</a></li>
                                    </ul>
                                </li>
                                <li><a class="headitem item6" href="#">已删除项目</a>
                                    <ul>
                                    <li><a href="#">内容</a></li>
                                    <li><a href="#">图片</a></li>
                                    <li><a href="#">音频</a></li>
                                    <li><a href="#">视频</a></li>
                                    <li><a href="#">PDF</a></li>
                                    <li><a href="#">脚本</a></li>
                                    <li><a href="#">其他</a></li>
                                    </ul>
                                </li>
                            </ul><!--end subnav-->
                            
                          <div class="flexy_datepicker"></div>
                           
                           <ul>
                           <li><a class="headitem item7" href="#">任务管理</a>
                                    <ul>
                                    <li><a href="#">写博客</a></li>
                                    <li><a href="#">脚本页</a></li>
                                    <li><a href="#">8:00和妹子约会</a></li>
                                    </ul>
                                </li>
                           </ul>     
                            
                        </div><!--end sidebar-->
                        
                     </div><!--end bg_wrapper-->
                     
                <div id="footer">
                
                </div><!--end footer-->
                
        </div><!-- end top -->
        
    </body>
    
</html>